﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace IntelliTouchMix
{
    public partial class PlayList2 : Form
    {
        public PlayList2()
        {
            InitializeComponent();
        }

        private void PlayList2_Load(object sender, EventArgs e)
        {
            
        }

        private void buttonX1_Click(object sender, EventArgs e)
        {
            Util.formMain.loadDeckA();
        }

        private void buttonX3_Click(object sender, EventArgs e)
        {
            Util.formMain.loadDeckB();
        }

        private void panelPlayList_Click(object sender, EventArgs e)
        {
            Util.deSelectAll();
            Activate();
            Focus();
            panelPlayList.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2000;
            Refresh();
            Util.selectedPanel = Util.LIBRARY;
            Console.WriteLine("Selected Panel:" + Util.selectedPanel);
            Util.formaPrincipal.touchController.ControlSense(Util.selectedPanel);
        }

        private void switchButton1_ValueChanged(object sender, EventArgs e)
        {
            Util.formMain.changeEffect(Util.formMain.selectedEffect, ((DevComponents.DotNetBar.Controls.SwitchButton)sender).Value );
        }
    }
}
